/*
 *
 *  * | Licensed 未经许可不能去掉「OPENIITA」相关版权
 *  * +----------------------------------------------------------------------
 *  * | Author: xw2sy@163.com
 *  * +----------------------------------------------------------------------
 *
 *  Copyright [2024] [OPENIITA]
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 * /
 */

package cc.iotkit.manager.dto.vo.miniAdmin;

import cc.iotkit.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 用户登录对象
 *
 * @author Lion Li
 */
@ApiModel("后台小程序商品VO")
@Data
public class MiniAdminGoodsVo extends BaseModel {

    @ApiModelProperty("ID")
    private Long id; // ID

    @ApiModelProperty("商品名称")
    private String name; // 产品名称

    @ApiModelProperty("价格")
    private BigDecimal price; // 价格

    @ApiModelProperty("成本")
    private BigDecimal cost; // 成本

    @ApiModelProperty("产品分类ID")
    private Integer goodsClassifyId; // 产品分类ID

    @ApiModelProperty("图片")
    private String pic; // 图片

    @ApiModelProperty("备注")
    private String remark; // 备注

    @ApiModelProperty("RFID码")
    private String rfid; // RFID码

    @ApiModelProperty("支付属性，1-支持支付，2-免费赠送")
    private Integer payType; // 支付属性

    @ApiModelProperty("成本价")
    private BigDecimal costPrice;

    @ApiModelProperty("销售价")
    private BigDecimal salePrice;

    @ApiModelProperty("促销价")
    private BigDecimal promotePrice;
}
